<h3>Acount Costumer</h3>
<div id="smallLeft"><h3>Data Costumer</h3>
    <table>
        <tr>
            <td></td>
            <td></td>
        </tr>

        <?php foreach ($rows->result() as $costumer): ?>
            <tr>
                <td>Name:</td>
                <td><?php echo $costumer->name ?></td>
            </tr>    
            <tr>
                <td>Email:</td>
                <td><?php echo $costumer->email ?></td>
            </tr>    
            <tr>
                <td>Last name:</td>
                <td><?php echo $costumer->last_name ?></td>
            </tr>    
            <tr>
                <td>Address:</td>
                <td><?php echo $costumer->address ?></td>
            </tr>    
            <tr>
                <td>Home phone:</td>
                <td><?php echo $costumer->home_phone ?></td>
            </tr>    
            <tr>
                <td>Mobile phone:</td>
                <td><?php echo $costumer->mobile_phone ?></td>
            </tr>    
            <tr>
                <td>Country:</td>
                <td><?php echo $costumer->country ?></td>
            </tr>    
            <tr>
                <td>City:</td>
                <td><?php echo $costumer->city ?></td>
            </tr>    
            <tr>
                <td>State:</td>
                <td><?php echo $costumer->state ?></td>
            </tr>    
            <tr>
                <td>Zip Code:</td>
                <td><?php echo $costumer->zip_code ?></td>
            </tr>
            <tr>
                <td>Date Register:</td>
                <td><?php echo get_tanggal_1($costumer->date_created) ?></td>
            </tr>
            <tr>
                <td>Date Expire:</td>
                <td><?php echo get_tanggal($costumer->expire) ?></td>
            </tr>
        <?php endforeach; ?>
    </table>

</div>

<div id="smallRight"><h3>Status <?php echo get_status($costumer->status) ?></h3>
    <table>
        <?php foreach ($rows->result() as $costumer): ?>
            <?php if (!$costumer->status == 1): ?>
                <tr>
                    <td>Confirm Now:</td>
                    <td>    <?php foreach ($access->result() as $a): ?>

                            <?php echo get_confirm($a->list_edit, 'costumer_lists/confirm/', $costumer->id) ?>&nbsp;&nbsp;

                        <?php endforeach ?></td>
                </tr>
            <?php endif ?>
        <?php endforeach; ?>
    </table>
</div> 
<div class="clear"></div>
<p>

    <?php echo anchor('costumer_lists/index', 'Back') ?>
</p>
